package com.example.hxds.bff.customer.service;

import com.example.hxds.bff.customer.controller.form.DeleteCustomerCarByIdForm;
import com.example.hxds.bff.customer.controller.form.InsertCustomerCarForm;
import com.example.hxds.bff.customer.controller.form.SearchCustomerCarListForm;

import java.util.ArrayList;
import java.util.HashMap;


/**
 * @program: hxds
 * @description: 乘客车辆服务接口
 * @author: noah2021
 * @date: 2023-01-14 01:01
 **/
public interface CustomerCarService {

    /**
     * 插入乘客车辆信息
     * @param form
     */
    void insertCustomerCar(InsertCustomerCarForm form);


    /**
     * 查询乘客车辆信息
     * @param form
     * @return
     */
    ArrayList<HashMap> searchCustomerCarList(SearchCustomerCarListForm form);


    /**
     * 删除乘客车辆信息
     * @param form
     * @return
     */
    int deleteCustomerCarById(DeleteCustomerCarByIdForm form);
}
